const Artitalk = require('../../models/artitalk')

module.exports = (req,res) => {
  Artitalk.find((err,artitalkDoc) => {
    if (err) {
      res.status(500).json({
        err_code: 500,
        message:err.message
      })
    }
    res.status(200).json({
      err_code: 0,
      data: artitalkDoc,
      message:'查询成功'
    })
  })
}